package com.lagou.service;

import com.lagou.pojo.Article;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.data.domain.Page;

public interface ArticleService {

    Page<Article> list(int page, int size);


    Article findById(Article article);

    Integer update(String content, Integer id);
}
